package basic.scopeOfModifier1;

import basic.scopeOfModifier.ParentClass;

/**
 * @Description: TODO 不同包下的子类
 * @Author: wzj
 * @Date: 2020/11/19 18:46
 */
public class SonClass extends ParentClass {

    public void print(){
        System.out.println("子类");
//        System.out.println(intPublic+" "+intProtected+" "+intDefault+" "+intPrivate);// intDefault  intPrivate会报错
        System.out.println(intPublic+" "+intProtected);
    }
}
